import org.junit.Test;

/**
 * @Author 【swg】.
 * @Date 2018/1/6 20:28
 * @DESC
 * @CONTACT 317758022@qq.com
 */
public class test {
    @Test
    public void test(){
        int[] a = {1,2};
        int[] b = a;
        b[1] = 5;
        System.out.println(a[1]);//5
    }

    @Test
    public void test2(){
        String a = "aaaa";
        System.out.println(a);
        a = "bbb";
        System.out.println(a);
    }


}
